package com.miracle.java2110.pojo;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * employeemanager
 * @author 
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employeemanager implements Serializable {
    private Integer id;

    private String employname;

    private String gender;

    private Integer age;

    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date hiredate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date deptime;

    private Double salary;

    private String photo;

    private static final long serialVersionUID = 1L;
}